getNetworkInfo

Retrieves the current network information.

Return

the network information as a NetworkInfo object